home *** CD-ROM | disk | FTP | other *** search
- property PropTarget, buttonReady
- global firstTimeNewCustomer
-
- on getPropertyDescriptionList
- description = [:]
- addProp(description, #PropTarget, [#default: EMPTY, #format: #string, #comment: "First Time Target:"])
- return description
- end
-
- on mouseEnter me
- buttonReady = 0
- end
-
- on mouseLeave me
- buttonReady = 0
- end
-
- on mouseDown me
- buttonReady = 1
- end
-
- on mouseUp me
- if buttonReady > 0 then
- if firstTimeNewCustomer = "TRUE" then
- if PropTarget <> EMPTY then
- go(PropTarget)
- end if
- else
- go("Add to List")
- end if
- end if
- buttonReady = 0
- end
-